import 'core-js/stable'
import 'regenerator-runtime/runtime'

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import {
  $cdn
} from '@/config'

Vue.prototype.$cdn = $cdn

import {
  baseApi
} from '@/config'

Vue.prototype.$baseApi = baseApi

import '@/plugins/vant'

import {
  Toast
} from 'vant'

Vue.prototype.$toast = Toast

import 'lib-flexible/flexible.js'

import md5 from 'js-md5'

Vue.prototype.$md5 = md5

Vue.config.productionTip = false

import * as echarts from 'echarts'

Vue.prototype.$echarts = echarts

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
